package cn.online.taxi.manager.dto.front;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author BinBini
 * @Date 2021/4/7 19:34
 * @Version 1.0
 */
public class Order implements Serializable {

//    private long id;                    // 订单ID

    private String orderNumber;         // 订单号

    private long passengerInfoId;       // 乘客ID

    private String passengerPhone;      // 乘客电话

    private Integer driverId;           // 司机ID

    private Integer driverStatus;       // 司机状态 0：没有司机接单  1：司机接单  2：去接乘客  3：司机到达上车点   4：开始行程   5：结束行程  6：发起收款  7：取消'

    private String driverPhone;         // 司机电话

    private Integer carId;              // 车辆ID

    private String userLongitude;       // 用户位置经度

    private String userLatitude;        // 用户位置纬度

    private String startLongitude;      // 乘客下单起点经度

    private String startLatitude;       // 乘客下单起点纬度

    private String startAddress;        // 起点名称

    private String endAddress;          // 终点地址名称

    private Date startTime;             // 乘客下单时间

    private Date orderStartTime;        // 订单开始时间

    private String endLongitude;        // 乘客下单终点经度

    private String endLatitude;         // 乘客下单终点纬度

    private Date driverGrabTime;        // 司机抢单时间

    private Date driverStartTime;       // 司机去接乘客出发时间

    private Date driverArrivedTime;     // 司机到达时间

    private Date receivePassengerTime;  // 接到乘客时间

    private String receivePassengerLongitude;   // 接到乘客经度

    private String receivePassengerLatitude;    // 接到乘客经度

    private Date passengerGetoffTime;   // 乘客下车时间

    private String passengerGetoffLongitude;    // 乘客下车经度

    private String passengerGetoffLatitude;     // 乘客下车纬度

    private Integer status;             // 订单状态 0: 订单预估 1：订单开始 2：司机接单 3：去接乘客 4：司机到达乘客起点 5：乘客上车，司机开始行程 6：到达目的地，行程结束，未支付 7：发起收款 8: 支付完成 9.乘客取消订单

    private Integer payType;            // 1：余额  2：微信  3：支付宝

    private Integer isPaid;             // 是否已支付 0：未支付  1：已支付

    private Integer isCancel;           // 是否取消  0：未取消   1：已取消

    private String passengerToken;

    private String driverToken;

//    public long getId() {
//        return id;
//    }
//
//    public void setId(long id) {
//        this.id = id;
//    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public long getPassengerInfoId() {
        return passengerInfoId;
    }

    public void setPassengerInfoId(long passengerInfoId) {
        this.passengerInfoId = passengerInfoId;
    }

    public String getPassengerPhone() {
        return passengerPhone;
    }

    public void setPassengerPhone(String passengerPhone) {
        this.passengerPhone = passengerPhone;
    }

    public Integer getDriverId() {
        return driverId;
    }

    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    public Integer getDriverStatus() {
        return driverStatus;
    }

    public void setDriverStatus(Integer driverStatus) {
        this.driverStatus = driverStatus;
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public String getUserLongitude() {
        return userLongitude;
    }

    public void setUserLongitude(String userLongitude) {
        this.userLongitude = userLongitude;
    }

    public String getUserLatitude() {
        return userLatitude;
    }

    public void setUserLatitude(String userLatitude) {
        this.userLatitude = userLatitude;
    }

    public String getStartLongitude() {
        return startLongitude;
    }

    public void setStartLongitude(String startLongitude) {
        this.startLongitude = startLongitude;
    }

    public String getStartLatitude() {
        return startLatitude;
    }

    public void setStartLatitude(String startLatitude) {
        this.startLatitude = startLatitude;
    }

    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }

    public String getEndAddress() {
        return endAddress;
    }

    public void setEndAddress(String endAddress) {
        this.endAddress = endAddress;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getOrderStartTime() {
        return orderStartTime;
    }

    public void setOrderStartTime(Date orderStartTime) {
        this.orderStartTime = orderStartTime;
    }

    public String getEndLongitude() {
        return endLongitude;
    }

    public void setEndLongitude(String endLongitude) {
        this.endLongitude = endLongitude;
    }

    public String getEndLatitude() {
        return endLatitude;
    }

    public void setEndLatitude(String endLatitude) {
        this.endLatitude = endLatitude;
    }

    public Date getDriverGrabTime() {
        return driverGrabTime;
    }

    public void setDriverGrabTime(Date driverGrabTime) {
        this.driverGrabTime = driverGrabTime;
    }

    public Date getDriverStartTime() {
        return driverStartTime;
    }

    public void setDriverStartTime(Date driverStartTime) {
        this.driverStartTime = driverStartTime;
    }

    public Date getDriverArrivedTime() {
        return driverArrivedTime;
    }

    public void setDriverArrivedTime(Date driverArrivedTime) {
        this.driverArrivedTime = driverArrivedTime;
    }

    public Date getReceivePassengerTime() {
        return receivePassengerTime;
    }

    public void setReceivePassengerTime(Date receivePassengerTime) {
        this.receivePassengerTime = receivePassengerTime;
    }

    public String getReceivePassengerLongitude() {
        return receivePassengerLongitude;
    }

    public void setReceivePassengerLongitude(String receivePassengerLongitude) {
        this.receivePassengerLongitude = receivePassengerLongitude;
    }

    public String getReceivePassengerLatitude() {
        return receivePassengerLatitude;
    }

    public void setReceivePassengerLatitude(String receivePassengerLatitude) {
        this.receivePassengerLatitude = receivePassengerLatitude;
    }

    public Date getPassengerGetoffTime() {
        return passengerGetoffTime;
    }

    public void setPassengerGetoffTime(Date passengerGetoffTime) {
        this.passengerGetoffTime = passengerGetoffTime;
    }

    public String getPassengerGetoffLongitude() {
        return passengerGetoffLongitude;
    }

    public void setPassengerGetoffLongitude(String passengerGetoffLongitude) {
        this.passengerGetoffLongitude = passengerGetoffLongitude;
    }

    public String getPassengerGetoffLatitude() {
        return passengerGetoffLatitude;
    }

    public void setPassengerGetoffLatitude(String passengerGetoffLatitude) {
        this.passengerGetoffLatitude = passengerGetoffLatitude;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getIsPaid() {
        return isPaid;
    }

    public void setIsPaid(Integer isPaid) {
        this.isPaid = isPaid;
    }

    public Integer getIsCancel() {
        return isCancel;
    }

    public void setIsCancel(Integer isCancel) {
        this.isCancel = isCancel;
    }


    public String getPassengerToken() {
        return passengerToken;
    }

    public void setPassengerToken(String passengerToken) {
        this.passengerToken = passengerToken;
    }

    public String getDriverToken() {
        return driverToken;
    }

    public void setDriverToken(String driverToken) {
        this.driverToken = driverToken;
    }
}
